package c.e.a.a.f.p.i;

import android.database.Cursor;
import c.e.a.a.a;
import c.e.a.a.f.p.i.t.b;
import java.util.ArrayList;

/* compiled from: SQLiteEventStore */
public final /* synthetic */ class l implements b {
    public static final l a = new l();

    public Object a(Object obj) {
        Cursor cursor = (Cursor) obj;
        a aVar = t.e;
        ArrayList arrayList = new ArrayList();
        int i = 0;
        while (cursor.moveToNext()) {
            byte[] blob = cursor.getBlob(0);
            arrayList.add(blob);
            i += blob.length;
        }
        byte[] bArr = new byte[i];
        int i2 = 0;
        for (i = 0; i < arrayList.size(); i++) {
            byte[] bArr2 = (byte[]) arrayList.get(i);
            System.arraycopy(bArr2, 0, bArr, i2, bArr2.length);
            i2 += bArr2.length;
        }
        return bArr;
    }
}
